package com.cdu.mapper;

import com.cdu.pojo.entity.Order;
import com.cdu.pojo.entity.OrderItem;
import com.cdu.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @projectName: com.cdu.mapper
 * @Author:jjj
 * @DateTime: 2024/12/18 下午8:19
 **/
@Mapper
@Repository
public interface OrderMapper {

    /**
     * 创建订单
     * @param order
     */
    void createOrder(Order order);

    void createOrderItem(OrderItem orderItem);
}
